<?php defined('SYSPATH') or die('No direct script access.');

class Controller_BaseTemplate extends Controller_Template {
    
    public $template = 'template';
    public $auto_render = TRUE;
    public $request;

	public function render($view){
				
		$this->template->content = View::factory($view, $this->data);
	}
        
        public function before()
	{
		parent::before();

		$this->template->content          = '';		
	}
        
        public function after()
	{
		return parent::after();
	}

}